package com.yunc.modules.shop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunc.base.SuperMapper;
import com.yunc.modules.shop.entity.ShopCart;
import com.yunc.modules.shop.entity.dto.ShopCartDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopCartMapper extends SuperMapper<ShopCart> {

    List<ShopCartDTO> pageInfo(Page<ShopCart> page, @Param("cart") ShopCart cart);
}
